make shell command work on windows also (issue #7)

see issue #7
thanks @aero