Updated GL version detection