Fix compilation error on mac
Merge pull request #350 from finetjul/update-ImageMaker

Fix compilation error on mac