CMake stuff: Detect types and their sizes