Added freeimage library for macosx