Fixing LWJGL debug mode detection logic.