Fixed issue with ADD_LIBRARY() and export header file.