now the configure script supports compilation of all modules to be shared or static. (monadbobo)