Replaced strerror() with wbStrerror()

* Visual Studio has deprecated strerror() on Windows; wbStrerror() instead calls the thread-safe version strerror_s()
Extended wbStrerror() to include thread-safe versions of strerror() for OS X / Linux