Fixed CppAPI compilation issues
Fixed URemoteServer compilation issues