Replaced ROOTDIR with MTEXTENSIONS