Travis: alternatives doesn't exist, try 'dpkg -L' to find out where g++
4.8 is installed.