Allow for trailing backslashes in project path
Added regex for mac/linux