libopencash: add c++11 checks