updated build script for Debian pkg