Build fix and MIME_PREFIX macro rename