add --enable-shared to configure, and $(BuildSharedLibs) to the build system