Change to use GetAddressOfSymbol instead of dlsym.