fix minimal python version check error message

sys.version_info named component attributes were added in 2.7.