Found out I use a lot of bashisms. So I changed shebangs and SHELL in Makefile accordingly.