fix compile errors lin4.7 thicklizard