Fix build options (optimization report to stderr)