Fix /MT & /MTd flags for Visual Studio build