misc. fixes and debian support

Signed-off-by: Dhiru Kholia <dhiru@openwall.com>