You need to append /usr/local/lib to your library path. CMake installs libntcore.so to /usr/local/lib which is not on the library path by default.
This answer on StackOverflow answers the question better than I can.
Sorry for the late response and I hope this helps!