unifier: a cmake attempt to unify library declaration and use