Fixed CMake building after encoder/decoder changes

Since the commit to add v2 encoder/decoder CMake was broken. Updated source files in CMakeLists.txt to reflect changes.