update FreeImage to support mac os.
Merge pull request #159 from vova616/master

update FreeImage to support mac os.