cmocka: add library