Use OS-supplied `stat` on OSX.

Re: postmodern/ruby-install#63