Moved osx_stub source code.