TravisCI: fix cpp testing.