Pull a small patch for ninja on OSX Mavericks.

A bit weird, but ninja 1.3.4 failed to build on latest OSX. Replacing atol() with stol() seems to work.