grid: detect platform for binary cache support under cygwin