fix ldso reserved library name handling