[cmake] remove pre-interaction mode compatibility code