Always cd into BUILD_DIR even if custom function is provided