Add check for C++11 support - necessary for RHEL7.