Refactored CMakeLists.txt to use nupic.core as an external library and not require direct access to the source repository