Adding library loading infrastructure in ctrino.