fix compile flags on linux; add linux dependency installation documentation