It would not compile, because of a missing definition. So I moved #include "BLI_math.h" up above #ifdef RNA_RUNTIME in rna_armature.c. This got it to compile, but release crashes. Debug works fine. This is on Windows.