Do not assume a fixed location for bash

Use env instead.
Fixes #497.