fixes global sourcing so HOME is temporarily set to BUILD_DIR before other files are sourced in, in order to accommodate compiles