Fixes linux/windows differences