Add missing new line at eof.
Simplify SDK choice with macro, use clang on 10.8 or newer.