compiler fixes for travis