Fix dependencies so that make does not keep going after an error