Hopefully fixes Setting flags under MSVC 2012+

Fixes #275