Fix issue with platform=unix-opengl mismatch