Fixed #5966: Add correct check for _ctor existence
Merge pull request #137 from pandamicro/develop

Fixed #5966: Add correct check for _ctor existence