Updated build system to optionally include avro tools.
Misc updates for cleaner builds.