More linux path fixes

Making sure that path names are generator with the appropriate path
seperator for linux or windows.