[CMake] Create a real library instead of an object library for stress tests