Fixed CMakeLists because I removed statemachine directory