FreeBSD build fixes.

Use clang (default nowadays)
Fix missing stdio.h include.