fix the external lib do not find the lib from ld