Improves error messages when not running Linux

[skip ci]