simplify configure.ac a bit due to libunique being mandatory

it's used in the code unconditionally anyway