patch to allow loading CALF plugins on OS X (from Thomas Vecchione)