account for modules in some makefile targets