Fixed windows compiler warning