Prepared Rakefile to work both in Cygwin and OSX.