Fix WIN32 thread-safeness issues on static local variables.
Fix WIN32 thread-safeness issues on static local variables.

Change-Id: I7120e60da326a3f8ab8f544b817fabd1f84be304
Reviewed-on: http://gerrit.aldebaran.lan/27967
Tested-by: gerrit
Reviewed-by: mnottale <e3ccf1b6558404e921a21fa09cebb1153b50ec36@aldebaran-robotics.com>
Tested-by: mnottale <e3ccf1b6558404e921a21fa09cebb1153b50ec36@aldebaran-robotics.com>

aldebaran/libqi,aldebaran/libqi,vbarbaresi/libqi,bsautron/libqi,aldebaran/libqi