add clib support