fix zlib configure and boost build