small fixes to make build work on CentOS
add files for Debian packages