NULL -> nullptr.
Add flag for C++11 for GCC.
make_pair -> pair.