Use #ifdef, not #if for HAVE_POSIX_FADVISE, autoconf doesn't define
features it doesn't find to 0, it doesn't define them at all.