tests/keyfile: Fix build