Fix for TI-RTOS CyaSSL build errors

I have a fix for TI-RTOS CyaSSL build errors. Please review and merge changes.