Fixed GLU stuff and warnings.