Uncomment CHECKs and fix typo cmake config.