WSL Build from source error: RInt.pcm is out of date \ cannot read module signature

Getting a similar kind of error since recently on my Mac as well. Using a custom ROOT build that was working fine a week ago, but trying to run the root executable now results in the following error message (results in a segfault):

input_line_1:1:2: error: module 'Darwin' uses additional module map
      '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.modulemap' used when the module was
      built
#include <new>
 ^
input_line_1:1:2: note: imported by module 'std' in '/Users/ahmadh/biodynamo/build/third_party/root/lib/std.pcm'
Warning in cling::IncrementalParser::CheckABICompatibility():
  Failed to extract C++ standard library version.
Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with _LIBCPP_ABI_VERSION '1'
  Extraction of runtime standard library version was: ''
input_line_2:1:2: fatal error: module file '/Users/ahmadh/biodynamo/build/third_party/root/lib/std.pcm' is out of date and needs to be rebuilt
#include "cling/Interpreter/RuntimeUniverse.h"
 ^
input_line_2:1:2: note: imported by module 'Cling_Runtime_Extra' in '/Users/ahmadh/biodynamo/build/third_party/root/lib/Cling_Runtime_Extra.pcm'
input_line_2:1:2: note: imported by module 'Cling_Runtime' in '/Users/ahmadh/biodynamo/build/third_party/root/lib/Cling_Runtime.pcm'
Replaced symbol atexit cannot be found in JIT!
Replaced symbol at_quick_exit cannot be found in JIT!
<<< cling interactive line includer >>>: fatal error: module file '/Users/ahmadh/biodynamo/build/third_party/root/lib/Darwin.pcm' is out of date and needs to be rebuilt

I have the feeling something with the standard C++ libs has changed on my machine, but I am not aware of any updates. Perhaps something changed in the background

Edit: I haven’t tried rebuilding with deleting the *.pcm files yet, but it is strange to me that these PCM files got invalidated suddenly.