#53 Update version parsing logic