Compile issue with lorawan app

I am trying to follow this exsample:

for a NUCLEO_L476RG board.
However when I try to compile i get
"[Fatal Error] NetworkStack.h@21,0: [Pe1696]: cannot open source file “type_traits”

My mbed is the latest, and I cant find the file name “type_traits” anywhere in my folder.
Am i missing something from this guide ? anyone with success in compiling this?