CMake: Added -D_REENTRANT to Solaris Studio builds.