If target_compile_features is available and cxx_std_11. This fix compilation with clang and gcc when c++11 isn't specified by user.
If target_compile_features is available and cxx_std_11. This fix compilation with clang and gcc when c++11 isn't specified by user.