Windows fixes

Fixes so WX GL and GRC work well under Windows.