python: now build with shared libraries

python 2.7 and 3.x were built using statically linking libpython
now they build using the shared version of libpython