Add flags translation for MS toolchain