Fix license check.