cmake: make eos serialisation project conditional on finding eos