Fixed CMakeLists.txt with some dependencies problems
added basic_export.cpp