patch omallocs configure.ac and configure
disable building shared libs for factory