Remove old checkstyle cruft from buildfile.

Also, rename struct member so as to be compatible with
older Rubies.