Improve the feature testing logic.
Remove XL compiler features.

C++11 mode is documented as experimental and not-to-be-relied-on.
Merge topic 'target_compile_features' into next

500ee8e Remove XL compiler features.
893cc69 Improve the feature testing logic.