Just build shared libraries for static analysis.

Building the static libs just does the same work twice.
Buildbot static analysis script: use configure script instead of cmake.