fix makefile to build indexByFastbit and fix printf type mismatches