Fix recursive inline on OS X

This patch was originally proposed in #135. Make fails on some platforms/compilers with a "recursive inlining" error.

In Homebrew we've been applying this patch for two years now unconditionally, on all OS versions and compilers, without problems.