prevent self-inclusion on non-windows platforms

Cheers to Chris Pick for figuring this out.