Fix visual studio build