added cairo patch, fix gst patch and build script