fix for windows compile