libct: add ability to use one library with OpenVZ and upstream kernels

Signed-off-by: Andrey Vagin <avagin@openvz.org>