Update the CXIndex API to 3.1