switches between therubyracer and therhinoracer dependig on platform