looks like this has been fixed upstream: https://github.com/mupen64plus/mupen64plus-core/pull/1027
source compiles should now work :)
thanks all for reporting! @mitu, thanks for reporting upstream, and @BuZz thanks for that, hopefully you can use later binaries, once fix is confirmed :)