Compile interrupt tests with Cmake.