Windows resources are not unpacked correctly

PR to fix issue #165