Fixed configure dependency checking to have separated modules, list of library dependencies updated in the global include file