fixed w32 build