Commit 9fc9dc535ee7af28f49f86a8ecacb7f575c46ba4

Yen Chi Hsuan 2017-10-27T16:12:56

Fix linux detection (closes #303)