Updated apps/CMakeLists.txt to correct one for remote machines