Fix the compilation version check and print some debug version information when we connect