Modify windows_package to run on Chef 11 and Chef 12

This fixes https://github.com/opscode-cookbooks/windows/issues/150
and related to https://github.com/opscode/chef/issues/2568
cc @btm @adamedx @randomcamel @lamont-granquist @sersut