This is discussed in:
https://github.com/biometrics/openbr/commit/944637135048effac3c4db9d76a23e9f2ded5f6a
Per the internet, initializing a function scoped static variable in this way is not thread safe in visual studio prior to VS2013