Board OKs $147M to replace courts building