Cleaned up configure.ac so it finds libraries a little better.
Remove files generated by autoconf.
Fix autorun.sh so it works on both OS X (w/brew) and Ubuntu.