Reduce redundancies in build files