added fix for recent glibc with PGI