Build Avro C on FreeBSD

This patch updates Avro C to build on FreeBSD.  It may build on other BSDs, but it has only been tested on FreeBSD 9.2.