fix tspdrv compile