When introducing logging categories in faa8f69a, the static build got forgotten about for a bit. This fixes the broken build (and also introduces an includedirs thinger for cmake to make sure when you link to that plugin, the include dir is set)
cc:@apol