Don't build pdo & pdo_sqlite as shared.

Avoids the pitfalls from https://bugs.php.net/bug.php?id=48614.