Workaround for mini_magick 3.7 bug on Ruby 2.1.