include png.h before any other headers, because it complains if setjmp.h was included...