Updated for Ubuntu 12.10:
- g++ C++11 flag is now -std=c++11
- using the glog ubuntu package libgoogle-glog-dev
- make the deb deps a bit more flexible