problems with libpng and libz