Fix Mac OS X Mavericks compilation error

See https://trac.macports.org/ticket/43586