Detect posix_fadvise and a few other functions. Detect how to inline on a given platform.