Now loads external libraries properly.