School board allows $4 million for new gym