Fixed build error, added makefile