Fix bug#4146, set guid of wrapped function same as original function