Fixed compilation error on OSX (thanks, Daniel Lemire)