Fix issue #98: "Can't build phar on windows"

Tried to fix the issue #98. Hope this is acceptable to you!?