Added C++11 flag so g++ can compile the library and tests correctly.