Small fix for building wxWidgets as static libs.