Changing default export symbol visibility to hidden and using declspec
to expose public symbols