Use `command -v` to check for presence of autogoo

As per http://stackoverflow.com/a/677212
Merge pull request #223 from JasonGross/autoreconf-check

Use `command -v` to check for presence of autogoo