Fixing small error in Windows.
Adding the string library to the ObjecFactory.h file and adding the
preprocesing directives in order to export the symbols of the new Kernel
library for Windows.
NOTE FOR WINDOWS: Do not forget to add explicitly all the C++ libraries
that you are going to use.