Install build dependencies on Ubuntu 12.04 LTS

I've confirmed this is able to build.