Fix output for different versions of VS