static linking for glibc