setting DLL visibility flags when building on Windows