finally added full compatibility with Linux and Windows by using shared libraries.
Note that batch files for compiling DLL are with absolute path