check for required dependencies