Fix potential bug in build dependencies script. If you gave it ' use module,only: ...' before it would not work.