revert DLLEXPORT removals