configure: Move toolchain dependency declarations to a more appropriate place
configure: Split host and target libc detection