build: MinGW compilation fixes, rename libcaca.lib to caca.lib so that g++ understands -lcaca directly; also add -DCACA_STATIC to the default flags.