Fix sprintf_s not working under linux