refactored tupfile to use build tup.config vars for compiler and various flags and directories