All withdrawals or reservations of public lands for the use of any agency of the Department of Defense, except lands withdrawn or reserved specifically as naval petroleum, naval oil shale, or naval coal reserves, heretofore or hereafter made by the United States, shall be deemed to be subject to the condition that all minerals, including oil and gas, in the lands so withdrawn or reserved are under