If we are using GL* types we should also be including cogl-defines.h, as that will include the right GL header.