Re-instate gcc flags (fix typo from commit 0d362ca7dc).