Fix typedef scoping resolution
Fix global scope resolution after typedef