Revert back to cpp and use ubuntu for builds with travis