Adapt libswmhack libswmhack tries to dlopen() several libraries (libxcb.so, libX11.so and libXt.so), but on Debian those are symlinks shipped in the corresponding -dev package.
Use the versioned library names (libxcb.so.1, libX11.so.6 and libXt.so.6) instead. This ensures that libswmhack will work with just the runtime packages installed.