Fix travis config
Fix overflow of range counts calculation
Merge branch 'master' into llvm