build: fix input/output path output on windows
build & extract: set up env for basis.js (uses since 1.3.0)