Fixed compile errors in Makefile