I installed ubuntu 13.10 and immediately upgraded to 14.04. g++ wasn't installed by default, so I've added it to our (optional) dependencies.