I guess we could add a check for Macos in our code and make it output something a little more useful.
Would be probably better to update glib itself, otherwise we have to include macos headers and link against macos frameworks by ourselves which we don't have to do now. But I don't think it's something too critical to have.