I managed to compile 2.5.2 after compiling dependencies, and then dependencies of the dependencies, and so on