Made GCC use C++11 / C++0x

It builds much farther before failing again now, and C++11 is a good idea anyways.

Also added `-Wextra` flag for GCC.