enable debian packaging, some minor changes

- fix extra comma in enumeration
- enable 32bit cross-compile on 64bit linux