Revert "Added @FloFra's patch to fix build on OS X,"

This reverts commit 7338174b3b440e2a19364eb14489c7af20a02806.