Fix the build script to install leveldb.

This fixes the travis-ci build.