Remove kbd.el from emacs-in-the-shell config.
Add build environment prepare functions.