Change GL version to core profile.