configure: Fix --disable-shared