Tweak version detection regexp. Closes #48.