Fix a build issue on GNU/kFreeBSD, thanks to Petr Salinger. Also updates Debian packaging. -- Nathan