Fixed iOS/OSX project and removed multi-thread support