fix issue #12

extern declaration of unknown structs are okay, even access to them. check completeness of structs only when declaring a variable