Nicer cross-platform support for rend2