Buildfix (needed an include in the header on some platforms so let's move to the cpp file)