fix build error from fsync control