Fixed GL3 compile error