Fix a windows compilation warning from 4647 branch