make rpm work on Amazon linux distro