Fix OSX build error described in #116