Make ldconfig not matter so much

By installing GCC libs into /usr/lib we no longer depend on ld.so.conf being correct to find them. This only impacts prod images where we do not need a complete GCC install.