sqlite: ensure both static and shared libraries are built

It appears the default options for sqlite's configure do not turn
shared and static library compilation on.

Force it instead.