Remove some legacy debugging code which was breaking the MinGW