Added compiler symbol to allow compiling with libpng 1.4 or lower.
Removing compiler warnings for x86 builds.