Removed the sample main.cpp export from the CMakeLists.txt file, and added the exported version instead.