lib/replace: Add ucontext configure waf checks.