* don't use the deprecated glib thread api
* fixed clang compiler options for ufomodel