Simplify version extraction
Use hex