NSBundle.LoadNib's owner can be null. Fixes #10136.
Enable thread protection on MacOS X as well