glibc: add -dbg pkgs and cross building support.