Only define vector aliases if they actually compile
Merge pull request #795 from yebblies/issue8425

Only define vector aliases if they actually compile