diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
index 53ef6f3..7dedc4b 100644
--- a/build/gulpfile.reh.js
+++ b/build/gulpfile.reh.js
@@ -401,16 +401,2 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
 
-		if (platform === 'linux' && process.env['VSCODE_NODE_GLIBC'] === '-glibc-2.17') {
-			result = es.merge(result,
-				gulp.src(`resources/server/bin/helpers/check-requirements-linux-legacy.sh`, { base: '.' })
-					.pipe(rename(`bin/helpers/check-requirements.sh`))
-					.pipe(util.setExecutableBit())
-			);
-		} else if (platform === 'linux' || platform === 'alpine') {
-			result = es.merge(result,
-				gulp.src(`resources/server/bin/helpers/check-requirements-linux.sh`, { base: '.' })
-					.pipe(rename(`bin/helpers/check-requirements.sh`))
-					.pipe(util.setExecutableBit())
-			);
-		}
-
 		result = inlineMeta(result, {
diff --git a/remote/package-lock.json b/remote/package-lock.json
index 290e188..fc8fd04 100644
--- a/remote/package-lock.json
+++ b/remote/package-lock.json
@@ -37,3 +37,3 @@
         "native-watchdog": "^1.4.1",
-        "node-pty": "^1.1.0-beta22",
+        "node-pty": "1.1.0-beta4",
         "tas-client-umd": "0.2.0",
@@ -703,2 +703,8 @@
     },
+    "node_modules/nan": {
+      "version": "2.20.0",
+      "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz",
+      "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==",
+      "license": "MIT"
+    },
     "node_modules/napi-build-utils": {
@@ -745,8 +751,9 @@
     "node_modules/node-pty": {
-      "version": "1.1.0-beta22",
-      "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.1.0-beta22.tgz",
-      "integrity": "sha512-CpT334H2oAIULlENvd9U+VBW4ZL+G3clOnpXYzUIurlPCLnl/9xen/KDHBLRcwhZuWcHxIrsCxR1TDCdVDtr0w==",
+      "version": "1.1.0-beta4",
+      "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.1.0-beta4.tgz",
+      "integrity": "sha512-CgffN9AxVtH4g7vDxtanm2qaR7jw3oet9r+ArzziGiFvmds9SdR3gXkZF0fqZWSxhTHZusJWvsuKvRv+5O2K8A==",
       "hasInstallScript": true,
+      "license": "MIT",
       "dependencies": {
-        "node-addon-api": "^7.1.0"
+        "nan": "^2.17.0"
       }
diff --git a/remote/package.json b/remote/package.json
index e8ea864..08d756d 100644
--- a/remote/package.json
+++ b/remote/package.json
@@ -32,3 +32,3 @@
     "native-watchdog": "^1.4.1",
-    "node-pty": "^1.1.0-beta22",
+    "node-pty": "1.1.0-beta4",
     "tas-client-umd": "0.2.0",
