I think I'm going to roll with a flags fix instead, like this: https://git.zx2c4.com/WireGuard/commit/?id=45bd499f15debb0e2443b15f7ff1d0ef93950acc This should eliminate all portability issues.