Fix dynamic link library