Fixed compiler error in NonCopyable

compiler was missing default constructor
Modified CMakeLists for OS detection