fix: EINVAL when spawning on Windows
* refactor: use node scheme imports in script * refactor: use node scheme imports in build