Brought version logic in line with LWJGL3