It turned out the VM uses the kernel from the host, which is from 42.1. The buildsetup cant be easily changed. I think python3 should be more robust and fallback to alternatives if the syscall fails.