Adds OS check for Rakefile
Merges with myself