Fixed dll exportation under Visual Studio for shared library compilation