I was considering setting --static by default to match gem5, but then that breaks shared libraries like openblas... so let's just use the ugly workaround for now as it seems to work...