There are appropriated, out of any moneys in the Treasury not otherwise appropriated, for the purposes hereinafter specified, such sums as may be necessary for the same, respectively; and such appropriation shall be deemed permanent annual appropriations. . . .