Update cmake scripts
Update CMake scripts to the latest CMake (master). Some scripts were slightly modified to allow builds on older CMake. The python libraries will not be linked to python modules.
WIP as it produces warnings for Tauola and Photos.
Edited by Andrii Verbytskyi