Fixed some compilation errors in keyboard-config.cpp.
These errors kept g++ from compiling the code (g++ now compiles
it without issue.