hopefully fix compilation warnings in windows