Clone of the FreeImage library - With Fixes for iOS / OS X