Define static_assert() using _Static_assert
Only use -ffat-lto-objects if supported by compiler
Only use __builtin_cpu_{init,supports}() if supported by compiler
Find all libraries before setting CFLAGS