Fix COMPILER_LIBS_PREPARE when compiler libs are present.