Export the build directory as environment variable