Port of liblinear to C++11 threads