input: look at the modifier keys only when compiled on Linux

This fixes https://savannah.gnu.org/bugs/?48751 reported by Andrew Ho.

This also fixes compilation when configured with --enable-tiny.
4 files changed