Adjust Target::checkvectortype to naming convention.

Fix-up for pull rqeuest #2879.