Fix build on OSX

Apparently __inline__ isn't also __attribute__((unused)) on OSX.