fn require_libdir_for_target(target: &Triple) -> bool
Checks if we need to discover the Python library directory to link the extension module binary.
Must be called from a PyO3 crate build script.