Better framework version check