Fix warnings.
Fix buildbot config.