don't modify process.platform in tests as it's going to be read only