fixed wrong mimetypes for minify case in compile method