build system cleanups, including errorprone.