Install capture_exec into lib.