Pass -DPYTHON flags to cmake

This enables usage of non standard python installations such as those provided by pyenv