Adjust Target::checkvectortype to naming convention.

Cosmetic fix-up for pull rqeuest #2879.