fix to delete zsync file before making new one
change compiler flags according to forum recommendation