refactor: switch to 12.0 msbuild and tidy up rakefile.rb