Updated the CMakeLists.txt to properly package the targets.