Fix ms cmake build