try to use g++ for leveldb linking