Windows fixes

This is some fixes for building menpo on Windows. Most importantly, it changes some things in HOGs which needs to be validated by @nontas. Do HOGs still seem to be working correctly?

@jabooth happy?