Fix native fail on duplicate packages

Fixing up some the native samples which are failing now due to the new duplicate package check.