made changes to makefiles to build on corn