Update configure script
Fix debian packages