Revert "Change build flags from -O3 to -Ofast"

This reverts commit d050952dfdd830d2ca399b5f5cec3f12aee80ed3.