Correct a lot of compilation failures in code and tests, shit it's too long to clean up !