added cmake option to enable c++11

enable c++11 with `cmake -DENABLE_CXX11=1 ./path/to/protonect/`. this allows to use c++ stdlib for threading.