Correctly handle anonynous structs

Fix for #36