Makefile updates.

* Rebuild when relevant options change. Some of this was already
  supported in different $(O) dirs; others not.
* Support building without MYSQL, say MYSQL=0.
Fix VERBOSE compilation.
Merge pull request #6 from kohler/master

updates