Add patch for linenoise -std=c99, avoid implicit decls