support Amazon Linux

Amazon Linux says "amazonami" as platform identifier
Add gcc-c++ to build dependencies of ruby at RedHat platform

Amazon Linux does not have C compiler as default.
Merge pull request #8 from tk0miya/support-amazon-linux

Support amazon linux