fix closure grep for windows dir