Fix possible non-windows build bug