Instead of having the name of the module set for each flag, use the available standard option. Mixing shared objects and static libraries in the same build is not a very realistic scenario anyway. This enables us to call configure without actually having a particular module; the script may then be used on a group level.