Missing quotes were leading cmake to believe that a source directory was
passed
Changed std::tr1::shared_ptr to smart pointer