Autotools, library path priority