fix for travis 1.8.7 builds