faster build dependency check
Merge branch 'improve_builddep_check'