add RMF_EXPORT macro def that got lost somewhere