Update gperf plugins CMakeLists so they can build out of tree
Fix some annoying warnings