check for GNU libc instead of __linux__ for sync_file_range