Zubal Books (www.zubal.com) will pay for books libraries no longer need.  If they are unable to resell them, they are sent through North American nonprofit organizations to libraries in developing countries. They will even pay the shipping.  They can be reached at (216) 241-7630.