add ability to specify IMAGE_MAGICK for Heroku compatability