Fix insecure handling of LD_LIBRARY_PATH that could lead to the current working directory to be searched for DSOs CVE-2012-0883