Allow specifying an export macro