Fix linking problem when built with -no-opengl

When -no-opengl was used then it was not automatically pulling in the
needed Windows libraries as it was not loading opengl.prf to get them
from.

Change-Id: Ic00717b2327a1f7cf05f55bcde7a7308e36c19e9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>