Pytests: fixed build on rhel.
Merge pull request #383 from shaitan/pytests

Pytests: fixed build on rhel.