Fix makefile to complete compiling