Setting correct compile flags on different systems

OpenMP isn't supported by clang, and has different compile args
on Windows. Currently untested on windows