Make hackify work when $(dirname $0) != $(pwd).
Merge pull request #3 from jlebar/run-from-elsewhere

Make the |hackify| script work even if $(dirname hackify) != $(pwd).