Add a custom rule to build v8.

GYP can also generate an Xcode project, but I'm not sure how I can add a
dependency on it.