Fix win8 not detecting proper permissions