"longer" is comparatively easy: More staff scientists (moving from grant to grant within an institution but on open-ended contracts) and fewer postdocs. "Paying more" is harder, though one or more of reducing marginal grants and lowering the ceiling on institutional overhead on grants would seem a reasonable start.
I've recently finished four years as a postdoc (and now have a permanent academic job and am applying for grants). It's the precarity of it which is a bigger killer than just the crappy salary. Fighting huge numbers of applicants for the chance to uproot your life (again) and move around the country for a contract that may be as short as 9 months, with every move having a good chance of being the end of your career (which you've invested years in training for). It's a grim position to put people into.