Build ck_rwlock with C++