Fix travis gcc build

This reverts commit c9c75e9933c2b94cd7a965200eae42970b541867.

the -O2 flag causes gcc to fail with the error:

src/replay.cpp: In function ‘void verify(const unit_map&, const config&)’:
src/replay.cpp:62:13: internal compiler error: Segmentation fault