make it build on macos again