Fix MS UUID detection, static initialization