Only compile Tokenizer on Python 2 for now.