Added "#if defined(HAVE_KBIPACK)" preprocessor directives to only enable homology plugin & compile the code when kbipack & gmp library is avaible.