fix compile issue when build common