remove 'restrict' keyword in the definition of cs_vsnprintf(). also compile tests/* with -L option