Fix Mac Os build