fix the missing rpath for the other platfroms other than os x