Fixed version detection system.