Fix compilation when GMIME is not defined