Generate mingw makefiles, also move wxTaskBarButton into core.