Fix runtime build on osx 10.10.