added compiler version check