Fixed compilation on non-mac (maybe?)