Fix for issue #4

Hi,

  Here is two commits. The first one is a fix for #4. The second updates Rakefile (sorry, I have no experience in Ruby, but since it fixes some obsolete stuff I observed on my box, it should be fine).