CMake modified for install option