Remove extraneous symbol causing VC/mingw break, fix warnings.