I don’t use mac myself, so probably won’t be able to help you… I know people are successfully building it on mac though, and I do build it for mac on github on every check-in to make sure I don’t break it. Here’s the github build action (but it’s the same as the build instructions, so won’t really help) https://github.com/mattiasgustavsson/dos-like/blob/76855339eddb3bcde18df1f89f610ffd840d5c21/.github/workflows/main.yml#L139
My guess is that something has gone wrong with your local build environment, but I don’t know enough about brew and mac build environments to know what to do about it..