[Bug 397848] add solver flag to ignore build dependencies