_onThunderbolt changed location in OS 10.10
Adapt to Xcode 5.1.1 or later (with OS 10.8.5 SDK or later)
Added compatibility stubs for OS 10.7.5 - 10.8.4, 10.8.5, 10.9.x
mege latest zenith/master