convert xxx.dll to libxxx