Fix up libcaca backend a bit