unix: add os information

This still needs Windows version.

/cc @bnoordhuis