better version handling in option parsing
Fix bug #54