Fix VS compile error