Design and construction of a thermal neutron target for the RPI linac