fixing Gradle RPM plugin issues