Section 18. The limitations of the preceding sections of this chapter, and of section thirty-two so far as applicable to personal actions, shall apply to actions brought by or for the commonwealth.