Fix efff7af. Workaround for max_align_t is now detected

- add a try_compile detection for the need of max_align_t declaration.
- the clang version is unreliable.
- cf efff7af and comments.