Fixed major bug in makefile.