Include mdetect file only if mdetect is enabled