Constructor: fix native newInstance implementation