Port fixed export macros.