Add python version detection in setup file.
Merge pull request #1 from Nolhian/master

Detect which version of Python is used and pass it in cmake flags.