Added preliminar support for RPM
Fixes for Debian and RPM packages