Fix CMake warnings on linking the Python libraries
Merge pull request #337 from Mystler/cmake-python

Fix CMake warnings for Python libraries.