* Remove unnecessary dependencies, and add wayland-scanner for gluing wayland protocol XML files. * Added optional flags for cairo, png and svg support respectively and specify build type.