Fix makefiles for separated gdk-pixbuf and declare variable at the beginning of a block (fix c99ism).