Change for compilation on mac