Fixed Mac build