Fix open solaris build issue with concept checking that breaks std vector for a class of itself. Bug #9523.