Link to library as a C library