Fixing windows policy loading detection

Changed the detection logic to not collide with OS X