RadioHead library error (stm32f4xx.h not found)

I solved the issue by using a version modified by @RWB here: Photon LoRaWAN node?

But it would be helpful if somebody fixed (and updated?) the one uploaded to Particle libraries.