Building Cycles Standalone

I’m trying to build cycles standalone.
After an endless search for libraries i got stuck at 60%.
It looks like make is looking for OpenImageIO 2.1.
I have 2.2 installed.
When I switch back to 2.1 build process stops earlier.
Looks like building needs two versions of the same library.
I searched how to install two versions of the same library but the process is complicated.
Any help ?

Please add the output you see in Terminal, after saving it in text file(s).

Sorry, new users can not upload attachments.