better warning message for missing dependencies