CMake: Add support for building WGL display output.
CMake: Add Windows platform libraries when building on Win32.