Use better error message for missing dependencies