Set default compiler optimisation level to -O3.

This gives a 15% reduction in runtime for a production test case. I'm not sure why it wasn't -O3 already - it appears to have been -O2 since the beginning.