Use -g flag to get debug symbols in leveldb