fix for FreeImage.h going back to old #def #undef approach for type clashes