Fix some more const placements and a silly Cygwin32 compiler warning.