fix at.py module on non-glibc systems