Add preprocessor macros for the multithreaded matrix generation.