Support offline CL/CPU/Intel compilation in tests