getrandom most probably needs to be conditionally included. I believe it is newer than seccomp.