config: fix build failure when buliding using g++12
Add the header providing std::transform() which was previously available un-namespaced when building with g++11.
I've tested building this back to Debian Bullseye (g++10) and it builds fine.
I still need to test this on a device. Just noticed it when fixing up the Debian package.