Sync with cvs.sourceforge.net
Compile libpng and zlib on linux, eliminate shared lib dependency