new windows compile warning fixed