updated cindex.py to work with clang 3.4

This solves the clang 3.4 issue, but haven't extensively tested on clang < 3.4