Fix GraphicsMagick problem