Detecting external libraries: II. Writing a find-module
