[build] Update runtime library and tests to work with relocatable SDKs on OS X 10.9.