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.