Modifying makefile to speed up compilation