Fixing compilation issue in keyboard component