Fix some minor compiling issue in simplekey-store.h/cc