fix preprocessor to only attempt to use posix_fadvise on linux