fixed makefile dependency generation