[server] Fix unixism in projectDir function