fixed dependencies building issue