dynamically find libdir for cartridge installs, should fix ARM