command/build: changes the behavior cortex build dealing with unstable ranges; see cortexjs/cortex#337 for details; fixes #337