don't modify process.platform for tests - fixes node v.11.x