cmake: remove the check preventing cmake on non-Windows platforms