Corrected a few errors in the makefiles.