output the right library name