Better portability

Use env(1) to locate shell binary (see http://en.wikipedia.org/wiki/Shebang_%28Unix%29#Portability).
Merge pull request #4 from rc5hack/patch-1

Better shebang portability