Fixed iconv() illegal character detection on glibc 2.12

Glibc 2.12 seems to throw an iconv() error. This bypasses the glibc check and make the error disappear.