Add missing dependency to sr_examples
Fix dependencies on tinyxml
Fix dependencies on imagemagick