Do not use linenoise with cmake under non-Windows.