Updated metadata.rb with Windows support and dependency