build fix on non-windows systems