Makefile docs and pkgconf: add support for shared|static variants
packages gmp mpfr mpc: enable shared builds and runtime tests
package qt4 and dependencies: enable shared builds