C++11 virtual & override.
Set -pthread on GNU/Linux.