detect: cd to the build dir