os::args returns a String, rather than &str now

call `.as_slice()` to convert to valid type.