update gems to work on both win and other platforms