Cleanup kaps code (using C99).
Removed kaps directory from .gitignore.
Fixed potential compile errors.
Fixed format specifiers.
Remove unread assignment

Use a fresh variable in the following code,
so it does not hide the "unusedness".
Remove duplicate initialization
Remove unread assignment

The pattern was common over all the transformers
Remove Make warnings
Fixed bug introduced in 7dd67de2496539d779c6e8981037b48d5a837269.
Makefile: Delete the build directory when cleaning.
Remove unread assignments
Fix asserts