Adds a target for the CTest executable, so it is build with the simulator.

This eliminates the need to build twice.