Enable builds on OS X
Prepare ImageMagick differently in different OSes
Merge pull request #131 from vassilevsky/osx

Enable builds on OS X