Made python script compatible with most (all?) python versions, and edited cmake script to find python interpreter location instead of relying on it being in the user's $PATH