Compile fixes after upgrade to fedora 19.

A lot of compiler warnings has been fixed and
apparently some changes in how to use rsvg etc.