Bump the deps to latest
Fix link flags for popt
Fix a bug in lookup_search
Fix daemonize/LevelDB open order