fix modules Makefiles