Revert "Optimization flags"

This reverts commit c2290042aa34ba0ac7906993dff630acb968ff0a.