add '#define LT_DLSYM_CONST const', solve the compilation problem