Fix building pythons. Part2.
Merge pull request #350 from Alexpux/develop

Fix building pythons. Part2.