Fix mingw build warnings in icarus driver.