mesa WIP: preferLocalBuild, hopefully work around