title: require('os').homedir() error on linux
body: <p>when i execute this single line script in linux as sudo i get an error, on my mac osx i don't.</p>
  
  <pre><code>var homedir =require('os').homedir();
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>testhomedir.js:1
  quire, module, __filename, __dirname) { var homedir = require('os').homedir();
                                                                      ^
  
  TypeError: undefined is not a function
  
      at Object.&lt;anonymous&gt; (/home/marco/test/testhomedir.js:1:91)
      at Module._compile (module.js:460:26)
      at Object.Module._extensions..js (module.js:478:10)
      at Module.load (module.js:355:32)
      at Function.Module._load (module.js:310:12)
      at Function.Module.runMain (module.js:501:10)
      at startup (node.js:129:16)
      at node.js:814:3
  </code></pre>
  
  <p>any idea's?</p>