Add types for liblinear C binding.