This builds on ubuntu but not OS X