use BUILD_DIR in paths to make naming more flexible