Rebuild python version string to account for bempp/bempp#161

PYTHON_VERSION_STRING may contain garbage beyond the X.Y.Z version string. So
X.Y.Z is rebuilt from PYTHON_VERSION_MAJOR and friends.

- Closes bempp/bempp#161