cmake: Build with keyring option