Check if dependencies are installed