fix visual studio build