add compiler version check