Add software revision check

To catch compatibility breaks.