Fixes for objc runtime