Greatly simplified and cleaned up build macros
Removed build.txt
Large cleanup of build macros, added some descriptive comments