Fix #2150 - haxe.unit.TestRunner dont runs on node.js and rhino

Fixes #2150