Clean up unneeded build system comments.

Also, fix a few bugs and remove some ancient deprecation checks.