Year-end spending bill includes $350K for Boston libraries