[ci/fix] support for cross-cc check programs
Extra recursive target across the repository to build the test programs without running them. Allows us to cross-compile both the lib and the test programs on frontend systems, without launching on the compute nodes. Make us of that to fix the theta ECP-CI job using icc.