add windows support to play method

test for windows vs non-windows and use `where` for Windows (only works on greater than XP, but better than no windows support)