Remove GLQUAKE def, fix compiler warnings.