removed redundant null check
cmake: centralized C++11 definitions
experiment with algorithms from the perfbook