Fix 'require' for emscripten modules in nodejs

Fixes #2920
http://dailyjs.com/2012/05/24/windows-and-node-4/
"Windows can actually accept backslashes or forward slashes as a path separator."

Sounds fine.