Make hackify work when $(dirname $0) != $(pwd).