A hack of the ketama source code and Makefile for OS X.