Fixed CMake trying to compile header files as well, added declspecs for sfn::Start and sfn::Stop.