cgame: VS compiler fix and cleanup, refs #478