fix some build options for clang
fix travis.yml