deprecate es2 on Windows