Factoring out windows checks to library methods