Changes for Concurrency-Kit 0.4.1

These are the modifications to libphenom's use of ck_ring to make it compatible with ck 0.4.1. It is based on #60. The interesting commit is 42454c174ff4907a4b3b58ba9140a5cf0c1b0c0b.