[Core] Properly detect clang and TR1 features.

This means: a few hundred warnings less when building with clang.

Signed-off-by: Daniel S. Reichenbach <daniel@kogitoapp.com>