try to get deps from globals if some of the libs are not available through AMD modules