Allow encapsulation with both single and double quotes for version

This is a fix for issue #14 and allows the version to be recognized when encapsulated with either single or double quotes.