Fixed OS/Bitdepth check on Windows