Do not link with flex lib its not required as flex is not used
Dont clean the libteletone dir when building pass the correct CC variable to install