set hard rlimit as well to prevent crash on linux

Compile crashes on Linux machines if the [soft rlimit is greater than the hard limit](http://stackoverflow.com/questions/19017658/node-posix-setrlimit-crashes-einval-invalid-argument).