Quick fix for the issue here:

https://github.com/martine/ninja/issues/794

Now that they fixed it, I should retry with head. This is just to help me
remember the problem.