fix compile of example + add to travis