improved error message for missing dependencies