Fixed libonrcpc.so crashes