fix compile latest cmake