fix TypeError if node cannot read cpu's

in our virtual server (Virtuozzo-based), node.js can't access os.cpus(), so it returns undefined and can't compile.