r21703: fix build when O_SYNC not defined