enable easy build without XPC
modernize objective-c