Fixed makefile not working according to planned.