Add devel major version detection.