Build fixed on MacOSX