Update lib looking process to look for headers in the same prefix as the selected shared lib.