Build ck_swlock with C++