Fixes for compilation
Fsync toggle