Restored optimisation flags