fix iHOG for windows (thanks to Michael Rubinstein, closes #1)