How do you include plugins in packaged builds?

The source of the problem was found, it was UnrealEd dependency in the plugin itself.
The fixed code was sent to Rama for review.