Platform: better checks for magnum-info compilation.

In particular GLX is not available on OS X.