add support for version strings ending in 'aX'

Attempt to fix #207