COUCHDB-2225 Enforce that shared libraries can be built by the system.

configure stage should ensure that shared libraries can be built.