fix windows and linux builds