Don't resolve struct members from public struct types (imported struct) which aren't public.
 Closes #179