Fix mandriva directives