Fixed autoconf issues: the math library wasn't found.
Deleted a couple of autogenerated files.