move the sysconf call behind the _POSIX_SYNCHRONIZED_IO guard there