change compiler version to 7