fix compile config