Updated makefile, fixed some errors.