Fix #142 - provide correct instanceof behavior for native classes