Compile only shared libraries. We were only forcing -static to speed up compile, as libtool builds both by default. Fixes linux64 build.