run compiler detection before trying to correct libdir + check TOOLCHAIN_WSIZE before setting 64bit libdir

improve 64 libdir detection on solaris

(0) -100 -30 -10 -2 +2 tip

mercurial