bugfix for non-windows os