libct: build a static version of the library

It will be used for libcontainer. libcontainer is used by tools,
which are executed in a container and libct may be not installed there.

Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>