Change all Platform 'windows' to 'win', as it internally is an alias anyway and only causes unnecessary confusion to have two platform names that mean the same.
Need to require 'msf/core/post/common' before including Msf::Post::Common