Add the `--enable-shared` flag as well. Allows for shared dynamic linking of libraries.