Various fixes for opensuse