module: fix export macros with kits

Apparently the previous attempt was insufficient for Windows.

Change-Id: I714394656b280323f3115e0d56eda162e4f98389