fixing path for linux to not include resources/ like on windows