Bringing back older version of build_leveldb that kevin edited