Add Ruby 2.0 support for build scripts
Remove compiler error