increment the optimization counter for DCE'd folds, also enable -O3 for compilation.