update makefile and add zlib headers