some fixes to produce the rpm package