add code to link to needed lib