Compiling against libpng