environment: using path.join, not root+'\\'+file

fixes issue #2514: jake runtests broken on mac
affects node enviroment only