titaniumenv: Make path to xcode configurable through the build function