Add custom library

See if this helps to add library in cdef file: