Add support for compiling on Debian/kFreeBSD