Fixed broken build under windows