fix compile error with EXPORT