Use g++-4.8 instead of the default system g++.