change return type of attachToRuntime to void

That fixes the XCode 4.6 crash when running in debug configuration