Fix startup error in command-line kvlayer tool