fix up build system and packaging

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>