enums: fix typo - comments still referred to Node in some places
Merge pull request #355 from zeroviscosity/master

enums: fix typo - comments still referred to Node in some places
Fix shell scripts for MacOS X

* grep extended regex syntax since Perl syntax no longer supported
* find requires explicit path
* sed requires explicit option after empty extension
Merge pull request #360 from vbuslov/macos-fix

Fix shell scripts for MacOS X
Merge remote-tracking branch 'upstream/master' into task-rework
threads: join threads instead of sleeping