added indexClassifyTest into Makefile, fixed compile errors