Fix osx runtime build on new agents.