Update memory requirements for g++ compiling

Compiling with g++ fails with out of ram on Launchpad VMs with 4GB RAM + 1 GB swap