move the ModuleExecutionDetector in Makefile.target