Fix thinko -- only add flags if debugging.
Merge pull request #178 from mej/spec_flags_fix

Fix thinko -- only add flags if debugging.