When I run sudo dos2unix -f NNN.sh or opened it in Sublime-text and saved after chose Menu-View\Line Endings\Unix I got working scripts(pipemenus).
So, I got changed line endings for all files in git-cloned directories. After test make install got all scripts working.
PS: what I did to get working WMPIPE on Ubuntu(Debian) sudo auto-apt run make PREFIX=/usr/local SYSCONFDIR=/etc sudo auto-apt run checkinstall -D sudo dpkg -i wmpipe_20170717-1_amd64.deb sudo ln -s /usr/local/lib /opt/lib