cmake: Fixed duplicate installation of cmake files