Make compile use BUILD_DIR for making directories and files