Make P2P work while only including p2p core