Scan prerequisite modules and generate CPANfile