Adapt build options to C++11 on windows