Modified compilation flags as to include png++ in the linking phase, png support is enabled, may want to improve error checking though.