make clib friendly