pass branch parameter to osx_cpp_factory