Issues/1634/npm build fix

resolves #1634
- added `buildClient.isNodeModule(<path>)` function