cmake build system: support native architecture support for clang

Signed-off-by: Tim Blechmann <tim@klingt.org>