use -std=gnu++11 only on mingw, c++11 otherwise
Merge remote-tracking branch 'anttisalonen/master'
extra build support for clang+ccache