Make image minification optional

It breaks too much