Fix travis-ci compile error in token extractor
Clean up character set spec