the patch to compile under os x