add a variable to specify the build directory