fixes windows compile error