libpng: fix for compilation in msys environment