start of xpcprotocol error fix
now compiling on linux