Update to version 0.1.1~git1 and add build.head

Replaces https://github.com/mxcl/homebrew/pull/24660