Musl C doesn't implement arc4random(), so use the getrandom() syscall instead. Also, Musl C also doesn't have a precompiler macro to be identified by, so if the system is Linux and not Glibc, assume Musl C.