added compiler check