Added make check for checking dependencies