Added c++ compatibility to mime.h.