Why js-ipfs/packages/ipfs always building for browser only?

When I’m trying to clone repo and build ipfs package inside https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs - I’m always getting version for browser with window variables. And while i’m trying to use built application in my node js script - i’m receiving “ReferenceError: window is not defined”. Steps to reproduce:

git clone git@github.com:ipfs/js-ipfs.git
cd js-ipfs/
git checkout 84cfa553ffc717d5d8bf94fdf6a306f182c9aee4 # because of issue https://github.com/ipfs/js-ipfs/issues/3303 
npm i
npm run build
node
const IPFS = require('./packages/ipfs/dist/index.min.js');

I’m receiving this error even if i’m trying to build for node by command aegir build -t node inside packages/ipfs. Why it’s always building only for browser? How to build for node applications? How to build to receive code which ipfs package have in npm?