support many dll names defined in macro
support .dll, .so suffix is not at the end
assert if the symbol can not be resolved.