fix clang build issues on travis