* fixed lib name
* export and c++ fixes