Fixed makefile build order