set linker/compiler flag only on win platforms
Merge branch 'rc2_0.8.4' into releases