Added a cmake option to disable keyboard grabbing on linux. Enabled by default.

Fixes #293