Use kernel driver detaching only on NON-Windows platforms.