diff -ur ws.o/lib/buffer-util.js ws/lib/buffer-util.js
--- ws.o/lib/buffer-util.js	2018-01-05 11:03:12.000000000 +0200
+++ ws/lib/buffer-util.js	2018-02-14 15:48:01.383611075 +0200
@@ -53,6 +53,9 @@
 }
 
 try {
+// XXX shachar/vladimir: add compiled version for android/windows/darwin
+if (process.env.ZNODE_DEP_SCAN)
+    throw new Error('compiled dep missing');
   const bufferUtil = require('bufferutil');
   const bu = bufferUtil.BufferUtil || bufferUtil;
 
diff -ur ws.o/lib/validation.js ws/lib/validation.js
--- ws.o/lib/validation.js	2018-01-05 11:03:12.000000000 +0200
+++ ws/lib/validation.js	2018-02-14 15:48:05.855651103 +0200
@@ -1,6 +1,9 @@
 'use strict';
 
 try {
+// XXX shachar/vladimir: add compiled version for android/windows/darwin
+if (process.env.ZNODE_DEP_SCAN)
+    throw new Error('compiled dep missing');
   const isValidUTF8 = require('utf-8-validate');
 
   exports.isValidUTF8 = typeof isValidUTF8 === 'object'
