Fixed building of index_test on gcc-4.4