build: simplify plugins/CMakeLists.txt.