Make the getRegex() call optional in the glob spec

Apparently PHP 5.3 does not support this call, so the build is broken.
Prepare 0.1.2 release