Fix build environment

- Remove unnecessary specs dup from Rakefile.
- Modernize Rakefile and gemspec.
- Make it work on i386.