[libpinyin] should move some code under that if..