Match more kernel strings.

Fix an issue with parsing kernel strings that did not begin with x.y.z
(example: 3.6-trunk-amd64, as in issue #21.)