fix build for fsync