Fixed Mac Os build problem