Deal with macOS's libc shenanigans
Deal with macOS's libc shenanigans

Fix #9595

koreader/koreader,NiLuJe/koreader,NiLuJe/koreader,Frenzie/koreader,poire-z/koreader,poire-z/koreader,Frenzie/koreader,koreader/koreader