master compiles under win (msvc11)