Build ck_spinlock with C++