fix sm30 lib compile issue