Commenting some lines with bad casts that fail to compile under Windows