Updated build_database.sh to Ubuntu 14.04