fixed makefile circular dependency