Make WIP example cross-platform

Uses cmdify module to make the example work on non-windows platforms as well as windows.