Mac build fixed