OS detection for Linux/glibc