Set compiler flag correctly in Release
Merge pull request #3403 from pboyer/CompFlagFix

Set compiler flag correctly in Release