fix makefile build order