Use free instead of cfree on Mac OS X.