Fix Mac OS X compilation errors under Buildbot
completed by: Cezar
mentors: Sean
This task is a continuation of a previous buildbot Mac setup task:
http://www.google-melange.com/gci/task/view/google/gci2012/8108203
That task encountered build errors on Mac OS X. This task involves fixing those build errors and any others that result until the Mac buildbot tests complete successfully.
Submit your fixes as a single patch file with all changes, see http://brlcad.org/wiki/Patches for help.