Construction of the CERN fast cycled superconducting dipole magnet prototype