unexport build_index_cpp (not used at R level anyway). #253