Use -O2 instead of -O3 to fix a weird lock-up that happens in GCC4.7 and 4.8.
The performance loss is pretty negligible, perhaps only a few percent
is System Monitor can be believed...