Fixed compile errors and added Makefile