work for windows as well

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>