Modified Makefile, add a Makefile.defs file to separate env config and build process